<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
        <title></title>
        <style type="text/css">
            em{ color: yellowgreen}
        </style>
        
    </head>
    <body>
    <table>
        <tr><td></td>
            <td>
                <h4>1、根据名称高亮查询</h4>
                <input type="text"   id="inputHighlight" maxlength="40" size="40" value="南瑞线"></input>
                <input type="button" id="queryHighlight" value="根据名称高亮查询"></input>
                <h5>结果:</h5>
                <div id="outputHighlight"></div>
            </td>            
            <td>
                <h4>2、根据PID获取子节点</h4>
                <input type="text"   id="pid" maxlength="40" size="40" value="100"></input>
                <input type="button" id="getChildrenButton" value="根据父节点PID查询"></input>
                <h5>结果:</h5>
                <div id="outputGetChildren"></div>
            </td>
        </tr>
        <tr><td></td>
            <td>
                <h4>3、根据ID获取设备名称</h4>
                <input type="text"   id="inputId" maxlength="40" size="40" value="2c902aaa489abdeb01489bfbd12a0005"></input>
                <input type="button" id="getbyid" value="根据ID获取设备名称"></input>
                <h5>结果:</h5>
                <div id="outputid"></div>
            </td>            
            <td>
                
            </td>
            </tr>
        <tr><td ></td>
            <td>
                <h4>4、根据索引ID(index_id)修改设备名称</h4>
                <input type="text"   id="edit_index_id" maxlength="40" size="40" value=""></input>
                名称:
                <input type="text"   id="editName" maxlength="40" size="40" value=""></input>
                <input type="button" id="editButton" value="根据index_id修改设备名称"></input>
                <div id="outputEditid"></div>
            </td>
            <td></td>
        </tr>
    </table>

    </body>
    <script type="text/javascript" src="jquery-1.10.2.min.js"></script>
    <script type="text/javascript" src="json2.js"></script>
    <script type="text/javascript" src="test2.js"></script>
    <script type="text/javascript">
        
        
    </script>
</html>